<div class="top_line"></div>
<?php
include_once "../service/eventService.php";
$eventRow = getActiveEvent();
if ($eventRow["EVENT_ID"] != "") {
    ?>
    <div id="floatdiv1">  
        <?php
        if ($eventRow["EVENT_FLASH"] != null || $eventRow["EVENT_FLASH"] != "") {
            ?>
            <object onclick="window.location.href='event.php';">
                <param name="movie" value="<?php echo($eventRow["EVENT_FLASH"]);?>"/>
                <embed src="<?php echo('../images/event/' . $eventRow["EVENT_FLASH"]);?>" width="151" height="459" wmode="transparent"/>
            </object>
            <?php
        } else {
            ?>
            <a href="event.php"><img src="../images/floating-banner/banner_web_giaan_3-2.jpg"/></a>
            <div class="floating_text"><?php echo($eventRow["EVENT_TITLE_" . $lang]); ?></div>
            <?php
        }
        ?>
    </div>
    <div id="floatdiv2">  
        <?php
        if ($eventRow["EVENT_FLASH"] != null || $eventRow["EVENT_FLASH"] != "") {
            ?>
            <object onclick="window.location.href='service.php';">
                <param name="movie" value="<?php echo($eventRow["EVENT_FLASH"]);?>"/>
                <embed src="<?php echo('../images/event/' . $eventRow["EVENT_FLASH"]);?>" width="151" height="459" wmode="transparent"/>
            </object>
            <?php
        } else {
            ?>
            <a href="event.php"><img src="../images/floating-banner/banner_web_giaan_3-2.jpg"/></a>
            <div class="floating_text"><?php echo($eventRow["EVENT_TITLE_" . $lang]); ?></div>
            <?php
        }
        ?>
    </div>
    <?php
}
?>